package com.example.demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;

@EnableAsync        // 开启异步任务
@SpringBootApplication
public class DemoApplication {

    public static void main(String[] args) {

        SpringApplication.run(DemoApplication.class, args);

        System.out.println(
                "\n"+
                "\n"+
                "\n"+
                "╔══════════════════════════════════════════════════╗  \n" +
                "║                   项目运行成功                     ║  \n" +
                "╚══════════════════════════════════════════════════╝  \n" +
                "\n"
        );

    }

}
